cc.Class({
    extends: cc.Component,

    properties: {
        label: {
            default: null,
            type: cc.Label
        },
        logo: {
            default: null,
            type: cc.Sprite
        },
        // defaults, set visually when attaching this script to the Canvas
    },

    // use this for initialization
    onLoad: function () {
        //创建不停的渐隐动画
        var repeat = cc.repeatForever(cc.sequence(cc.fadeOut(0.5),cc.fadeIn(0.5)));
        this.logo.node.runAction(repeat);
    },

    // called every frame
    update: function (dt) {

    },
});
